//package com.cloud.gate.v2.config;
//
//import org.springframework.context.ApplicationContext;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.ComponentScan;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.reactive.DispatcherHandler;
//import org.springframework.web.reactive.config.EnableWebFlux;
//import org.springframework.web.reactive.config.WebFluxConfigurer;
//
//@Configuration
//@ComponentScan
//@EnableWebFlux
//public class WebFluxConfig implements WebFluxConfigurer {
//
//	@Bean
//	public DispatcherHandler webHandler(ApplicationContext applicationContext) {
//		DispatcherHandler dispatcherHandler = new DispatcherHandler(applicationContext);
//		return dispatcherHandler;
//	}
//
//}
